package com.urea.system.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.urea.system.domain.OrderRefund;
import com.urea.system.domain.PayInfo;
import com.urea.system.mapper.OrderRefundMapper;
import com.urea.system.mapper.PayInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 交易记录Service业务层处理
 * 
 * @author liuzd
 * @date 2023-08-01
 */
@Service
public class OrderRefundServiceImpl extends ServiceImpl<OrderRefundMapper, OrderRefund> implements IOrderRefundService
{

    @Override
    public OrderRefund getByRefundNo(String refundNo) {
        return lambdaQuery().eq(OrderRefund::getRefundNo,refundNo).one();
    }
}
